package org.ims.inv.model.flow;

import java.math.BigInteger;

import org.ims.inv.model.flow.confer.ModelFlowConfer;

/**
 * Model: 工作流流程模板
 * 
 * @author Jeccy.Zhao
 *
 */
public class ModelFlowTemplate
extends ModelFlowNode
{

	/**
	 * Serial UID
	 */
	private static final long serialVersionUID = -2117485740452290315L;
	
	/**
	 * 工作流流程
	 */
	private ModelFlowDef flowDef;
	
	/**
	 * 依赖审批环节
	 */
	private ModelFlowConfer dependedFlow;
	
	/**
	 * 临时变量, 用于显示处于审核状态的项目数
	 */
	private BigInteger auditNum;
	
	public void setFlowDef(ModelFlowDef flowDef)
	{
		this.flowDef = flowDef;
	}

	public ModelFlowDef getFlowDef()
	{
		return flowDef;
	}

	public void setAuditNum(BigInteger auditNum)
	{
		this.auditNum = auditNum;
	}

	public BigInteger getAuditNum()
	{
		return auditNum;
	}

	public void setDependedFlow(ModelFlowConfer dependedFlow)
	{
		this.dependedFlow = dependedFlow;
	}

	public ModelFlowConfer getDependedFlow()
	{
		return dependedFlow;
	}
	
}
